package com.hunliji.monitor.dao.model.dataobject;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 钱包流水账户明细表
 * </p>
 *
 * @author wu_chen
 * @since 2023-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("merchant_wallet_flow_detail")
public class MerchantWalletFlowDetailDO implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 交易流水id
     */
    private Long merchantWalletFlowId;

    /**
     * 钱包账户id
     */
    private Long merchantWalletAccountId;

    /**
     * 流水金额状态：0-同步，1-充值，2-扣款
     */
    private Integer flowType;

    /**
     * 交易金额，单位分，含正负
     */
    private Long transAmount;

    /**
     * 新创建时间
     */
    private LocalDateTime dbCreateAt;

    /**
     * 新更新时间
     */
    private LocalDateTime dbUpdatedAt;

    /**
     * 逻辑删除(0-未删除,1-已删除)
     */
    private Integer deleted;


}
